package com.yykj.prescription.server.model.repository.prescription;

import com.yykj.prescription.server.model.entity.prescription.PrescriptionNoteType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PrescriptionNoteTypeRepository extends JpaRepository<PrescriptionNoteType,Integer> {
    List<PrescriptionNoteType> findAllByHospitalIdOrderBySorting(Integer hospitalId);
}
